… | |
… | |
22 | * The authors can be reached via e-mail to <support@deliantra.net> |
22 | * The authors can be reached via e-mail to <support@deliantra.net> |
23 | */ |
23 | */ |
24 | |
24 | |
25 | #include <global.h> |
25 | #include <global.h> |
26 | |
26 | |
|
|
27 | //+GPL |
|
|
28 | |
27 | /* Determine if the attacktype represented by the |
29 | /* Determine if the attacktype represented by the |
28 | * specified attack-number is enabled for dragon players. |
30 | * specified attack-number is enabled for dragon players. |
29 | * A dragon player (quetzal) can gain resistances for |
31 | * A dragon player (quetzal) can gain resistances for |
30 | * all enabled attacktypes. |
32 | * all enabled attacktypes. |
31 | */ |
33 | */ |
… | |
… | |
132 | |
134 | |
133 | INVOKE_PLAYER (SAVE_DONE, ob->contr); |
135 | INVOKE_PLAYER (SAVE_DONE, ob->contr); |
134 | |
136 | |
135 | return true; |
137 | return true; |
136 | } |
138 | } |
|
|
139 | |
|
|
140 | //-GPL |
137 | |
141 | |
138 | bool |
142 | bool |
139 | player::save_pl (const char *path) |
143 | player::save_pl (const char *path) |
140 | { |
144 | { |
141 | object_freezer freezer; |
145 | object_freezer freezer; |