diff options
| author | AntB <psychogiant@hotmail.com> | 2010-10-15 16:36:05 (GMT) |
|---|---|---|
| committer | AntB <psychogiant@hotmail.com> | 2010-10-15 16:36:05 (GMT) |
| commit | 1d167e10547829067b20b56e355576891053ea5f (patch) | |
| tree | 160f4f96e8f428c382aed02affc978a39245349d /src/main.c | |
| parent | a03b1f7e566839856287d07f62864a4104e4e885 (diff) | |
| download | powder-1d167e10547829067b20b56e355576891053ea5f.zip powder-1d167e10547829067b20b56e355576891053ea5f.tar.gz | |
Manual merge - UI changes
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -507,8 +507,10 @@ int parse_save(void *save, int size, int replace, int x0, int y0) if(p >= size) goto corrupt; j=d[p++]; - if(j >= PT_NUM) - goto corrupt; + if(j >= PT_NUM){ + //TODO: Possibly some server side translation + j = PT_DUST;//goto corrupt; + } if(j)// && !(isplayer == 1 && j==PT_STKM)) { if(pmap[y][x]) |
