[comp.sources.d] Empire 1.1 Bug Fix : Rolling Civilians

jld#@andrew.cmu.edu (Jay Davis) (04/22/87)

ReSent-From: postman#@andrew.cmu.edu

ReSent-To: nntp-xmit#@andrew.cmu.edu

Return-path: <jld#@andrew.cmu.edu>

X-Andrew-Authenticated-as: 248

X-Trace: MS Version 3.22 on sun3 host royalton, by jld (248).

To: outnews#ext.nn.rec.games.empire@andrew.cmu.edu,
	outnews#ext.nn.comp.sources.d@andrew.cmu.edu



	The "rolling civilians" bug (as listed in the Buglist file) in Empire
1.1 (Decompiled Version) can be fixed. To fix this bug (and hopefully not
create any new ones)  do the following :
	In update.c, change the statement :
		if( getsect(dx, dy, UP_NONE) == -1 ) goto X3404;
	     to :
		if( getsect(dx, dy, UP_TIME | UP_ALL) == -1 ) goto X3404;
	     at the point where the new sector is fetched (right after
	     the old sector is stored with putsect(x,y);).
This fix doesn't seem to cause any other problems either!

PS : Looking forward to the version 1.2 changes. Also,  why doesn't someone
realease one of the current versions (2.0 or greater, whatever it is)
already; and not decompiled code this time.

Jay Davis
jld@andrew.cmu.edu