diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-12-11 08:09:30 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-12-11 08:09:30 +0100 |
commit | e07367524c4fb4483057a7d7f983015f66071157 (patch) | |
tree | 637b5ec5a9cd9b1d0d0200f39ac77542077de8e2 /src/q_wight.cc | |
parent | 33e7dc3baa6b375efb6d8989ffe3c50511291228 (diff) |
Allocate p_ptr dynamically
While this technically introduces one-time memory leak, it also lets
us avoid the Static Initialization Fiasco problem if we change
player_type to a non-POD.
Diffstat (limited to 'src/q_wight.cc')
0 files changed, 0 insertions, 0 deletions