| version 1.38 | | version 1.39 |
|---|
| | |
| /* | | /* |
| * static char *rcsid_weather_c = | | * static char *rcsid_weather_c = |
| * "$Id: weather.c,v 1.38 2005/05/07 11:51:20 tchize Exp $"; | | * "$Id: weather.c,v 1.39 2005/07/16 21:10:40 akirschbaum Exp $"; |
| */ | | */ |
| /* | | /* |
| CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
| int x, y; | | int x, y; |
| | | |
| sprintf(filename, "%s/temperaturemap", settings.localdir); | | sprintf(filename, "%s/temperaturemap", settings.localdir); |
| LOG(llevDebug, "Reading teperature data from %s...", filename); | | LOG(llevDebug, "Reading temperature data from %s...", filename); |
| if ((fp = fopen(filename, "r")) == NULL) { | | if ((fp = fopen(filename, "r")) == NULL) { |
| LOG(llevError, "Cannot open %s for reading\n", filename); | | LOG(llevError, "Cannot open %s for reading\n", filename); |
| init_temperature(); | | init_temperature(); |