1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
|
|
4 | * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 2002 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992 Frank Tore Johansen |
7 | * Copyright (©) 1992 Frank Tore Johansen |
7 | * |
8 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
9 | * Deliantra is free software: you can redistribute it and/or modify it under |
… | |
… | |
213 | goto reply; |
214 | goto reply; |
214 | } |
215 | } |
215 | } |
216 | } |
216 | |
217 | |
217 | /* Forms the party struct for a party called 'params'. it is the responsibility |
218 | /* Forms the party struct for a party called 'params'. it is the responsibility |
218 | * of the caller to ensure that the name is unique, and that it is placed in the |
219 | * of the caller to ensure that the name is unique, and that it is placed in the |
219 | * main party list correctly */ |
220 | * main party list correctly */ |
220 | |
221 | |
221 | party = salloc0<partylist> (); |
222 | party = salloc0<partylist> (); |
222 | party->partyname = strdup (params); |
223 | party->partyname = strdup (params); |
223 | party->total_exp = 0; |
224 | party->total_exp = 0; |