towninit.asm
ttdpatch_ttdpatch/procs/towninit.asm
#include <defs.inc>
#include <frag_mac.inc>
#include <town.inc>

global patchtowninit

begincodefragments

codefragment oldinitializetown
	mov word [esi+town.waterlastmonth],0

codefragment newinitializetown
	call runindex(initializetownex)


endcodefragments

patchtowninit:
	patchcode oldinitializetown,newinitializetown,1,1
	ret
