Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
lincity
coal-reservers.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File coal-reservers.patch of Package lincity
From: Ivan Shmakov <ivan@theory.asu.ru> To: submit@bugs.debian.org Cc: Ivan Shmakov <oneingray@gmail.com> Subject: .coal_reserve isn't properly initialized by clear_game () As .coal_reserve isn't properly initialized by clear_game (), each time player selects ``New game'' the coal reserve gets increased by NUMOF_COAL_RESERVES squares. Thus, after restarting the game for a number of times one gets a lot of coal to dig out. Index: lincity-1.13.1/simulate.c =================================================================== --- lincity-1.13.1.orig/simulate.c 2003-07-28 08:06:11.000000000 +0300 +++ lincity-1.13.1/simulate.c 2012-02-04 20:23:58.762880388 +0200 @@ -85,6 +85,7 @@ MP_GROUP(x,y) = get_group_of_type(fill); if (MP_GROUP(x,y) < 0) MP_GROUP(x,y) = GROUP_BARE; MP_INFO(x,y).population = 0; + MP_INFO(x,y).coal_reserve = 0; MP_INFO(x,y).flags = 0; MP_INFO(x,y).int_1 = 0; MP_INFO(x,y).int_2 = 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor