summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-10-14 17:33:47 (GMT)
committer Simon <simon@hardwired.org.uk>2010-10-14 17:33:47 (GMT)
commit79767f4ceb36118d17b1b148c4454d556699ef63 (patch)
tree9daf68a956b645e82db90cb67bbabbd01fea576b /src/main.c
parent5d1bc373d27747c3554fab1f048da8a2680c7532 (diff)
downloadpowder-79767f4ceb36118d17b1b148c4454d556699ef63.zip
powder-79767f4ceb36118d17b1b148c4454d556699ef63.tar.gz
Client Side 'Favourites' UI stuff
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..77133f9 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])