summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAntB <psychogiant@hotmail.com>2010-10-15 16:36:05 (GMT)
committer AntB <psychogiant@hotmail.com>2010-10-15 16:36:05 (GMT)
commit1d167e10547829067b20b56e355576891053ea5f (patch)
tree160f4f96e8f428c382aed02affc978a39245349d /src/main.c
parenta03b1f7e566839856287d07f62864a4104e4e885 (diff)
downloadpowder-1d167e10547829067b20b56e355576891053ea5f.zip
powder-1d167e10547829067b20b56e355576891053ea5f.tar.gz
Manual merge - UI changes
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b91d86d..744a43f 100755
--- a/src/main.c
+++ b/src/main.c
@@ -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])