diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-12 21:44:06 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-12 21:44:06 +0800 |
commit | 3e281fd6b31e72e83322579e89a0cb9285d960e9 (patch) | |
tree | 31f1fcdc98f82b86222c3425cf21e0bae485127f | |
parent | 25baccf79ba66857c91c5d0e8eb5193c9d212810 (diff) | |
download | pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.tar pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.tar.gz pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.tar.bz2 pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.tar.lz pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.tar.xz pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.tar.zst pttbbs-3e281fd6b31e72e83322579e89a0cb9285d960e9.zip |
pmore: bbs movie behavior update
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/pmore.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index 0492da69..ea28a41d 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -347,7 +347,7 @@ MF_Movie mfmovie; #define RESET_MOVIE() { mfmovie.mode = MFDISP_MOVIE_UNKNOWN; \ mfmovie.compat24 = 1; \ mfmovie.synctime.tv_sec = mfmovie.synctime.tv_usec = 0; \ - mfmovie.frameclk.tv_sec = mfmovie.frameclk.tv_usec = 0; } + mfmovie.frameclk.tv_sec = 1; mfmovie.frameclk.tv_usec = 0; } MFPROTO unsigned char * mf_movieFrameHeader(unsigned char *p); int pmore_wait_input(struct timeval *ptv); @@ -1657,7 +1657,10 @@ pmore(char *fpath, int promptend) if(promptend == NA) { - flExit = 1, retval = READ_NEXT; + /* if we played to end, + * no need to prevent pressanykey(). + */ + flExit = 1, retval = 0; } } } |